package com.rfy.base.constant.enums;

/**
 * @author zhanghuiyong
 * @创建时间 2019年05月28日
 * @描述: 门户网站枚举
 **/
public enum WebsiteEnum {
    WEBSITE_QIDIAN(1, "https://www.qidian.com/search?kw=", "起点中文网"),
    WEBSITE_XBIQU(2, "https://sou.xanbhx.com/search?siteid=qula&q=", "新笔趣阁"),
    WEBSITE_XBIQUGE6(3, "https://www.xbiquge6.com/search.php?keyword=", "新笔趣阁6"),
    WEBSITE_MIAOJIANG(4, "https://m.miaojiang8.com/s.php", "苗疆小时网"),
    WEBSITE_DATE5U(5, "http://www.data5u.com/", "无忧代理网");


    WebsiteEnum(Integer code, String searchUrl, String websiteName) {
        this.code = code;
        this.searchUrl = searchUrl;
        this.websiteName = websiteName;
    }

    /**
     * 网站编码
     */
    Integer code;

    /**
     * 搜索地址
     */
    String searchUrl;
    /**
     * 网站名称
     */
    String websiteName;


    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getSearchUrl() {
        return searchUrl;
    }

    public void setSearchUrl(String searchUrl) {
        this.searchUrl = searchUrl;
    }

    public String getWebsiteName() {
        return websiteName;
    }

    public void setWebsiteName(String websiteName) {
        this.websiteName = websiteName;
    }
}
